<template>
	<view>
		<view class="row j-center py-2 m-2">
			<view class="span-4 d-flex flex-column a-center j-center py-1" v-for="(item,index) in indexnavs" :key="index" @tap="event(item)">
				<image :src="item.src" style="width: 60rpx;height: 60rpx;" mode="widthFix"></image>
				<text class="font-sm">{{item.text}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			indexnavs:{
				type:Array,
				default:function(){
					return ''
				}
			}
		},
		data(){
			return{
				
			}
		},
		methods:{
			event(e){
				console.log('e',e);
			}
		}
	}
</script>

<style>
</style>
